projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73770b0
)
(bookmark-show-all-annotations):
author
Thien-Thi Nguyen
<ttn@gnuvola.org>
Tue, 17 Jul 2007 16:10:13 +0000
(16:10 +0000)
committer
Thien-Thi Nguyen
<ttn@gnuvola.org>
Tue, 17 Jul 2007 16:10:13 +0000
(16:10 +0000)
Make sure each inserted annotation ends with newline.
lisp/bookmark.el
patch
|
blob
|
history
diff --git
a/lisp/bookmark.el
b/lisp/bookmark.el
index 3c1469fef9739159712cbdc975889c097b0c792d..816ed8b182e22d04e3e11e043a78ce0a4920eb1c 100644
(file)
--- a/
lisp/bookmark.el
+++ b/
lisp/bookmark.el
@@
-1794,7
+1794,8
@@
if an annotation exists."
(if (and ann (not (string-equal ann "")))
;; insert the annotation, indented by 4 spaces.
(progn
- (save-excursion (insert ann))
+ (save-excursion (insert ann) (unless (bolp)
+ (insert "\n")))
(while (< (point) (point-max))
(beginning-of-line) ; paranoia
(insert " ")